package com.mes.cloud.dto.extral;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 用户
 *
 * @author wxm
 * @Time 2019-4-16
 */
@ApiModel(value = "UserExtralDTO", description = "用户")
@Data
public class UserExtralDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    public UserExtralDTO() {
    }

    /**
     *
     */
    @ApiModelProperty(value = "id", dataType = "Long")
    private Long id;
    /**
     * 用户编号
     */
    @ApiModelProperty(value = "用户编号", dataType = "String")
    private String userNo;
    /**
     * 员工姓名
     */
    @ApiModelProperty(value = "员工姓名", dataType = "String")
    private String name;
    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", dataType = "String")
    private String phone;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", dataType = "String")
    private String email;

    /**
     * 角色
     */
    @ApiModelProperty(value = "主要角色", dataType = "Long")
    private Long roleId;

    @ApiModelProperty(value = "主要角色名称", dataType = "Long")
    private String roleName;
    /**
     * 主要职位
     */
    @ApiModelProperty(value = "主要职位", dataType = "Long")
    private Long mainPostId;

    @ApiModelProperty(value = "主要职位名称", dataType = "String")
    private String postName;

    /**
     * 主要组织
     */
    @ApiModelProperty(value = "主要组织", dataType = "Long")
    private Long mainOrgId;

    @ApiModelProperty(value = "主要组织名称", dataType = "String")
    private String orgName;

    /**
     *
     */
    @ApiModelProperty(value = "创建人id", dataType = "Long")
    private Long crtby;
    /**
     *
     */
    @ApiModelProperty(value = "创建时间", dataType = "Timestamp")
    private Timestamp crtdate;
    /**
     *
     */
    @ApiModelProperty(value = "修改人id", dataType = "Long")
    private Long updby;
    /**
     *
     */
    @ApiModelProperty(value = "修改时间", dataType = "Timestamp")
    private Timestamp upddate;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述", dataType = "String")
    private String remark;
    /**
     *
     */
    @ApiModelProperty(value = "是否删除", dataType = "Integer")
    private Integer isDelete;
    /**
     *
     */
    @ApiModelProperty(value = "启用禁用", dataType = "Integer")
    private Integer isEnable;

    @ApiModelProperty(value = "创建人名称", dataType = "String")
    private String crtbyName;

    @ApiModelProperty(value = "修改人名称", dataType = "String")
    private String updbyName;

    //状态：01在职 02离职
    @ApiModelProperty(value = "状态01在职 02离职", dataType = "String")
    private String status;

    //员工类型：01正式员工、02非正式员工
    @ApiModelProperty(value = "类型01正式员工、02非正式员工", dataType = "String")
    private String userType;

    @ApiModelProperty(value = "别名", dataType = "String")
    private String userAlias;

    @ApiModelProperty(value = "Base地区", dataType = "String")
    private String baseAddr;

    @ApiModelProperty(value = "数据来源", dataType = "String")
    private String dataSource;

    @ApiModelProperty(value = "行政区划id", dataType = "Long")
    private Long areaId;
}
